package cn.iocoder.an.module.mold.controller.admin.linestopcategory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 停线类型新增/修改 Request VO")
@Data
public class LinestopCategorySaveReqVO {

    @Schema(description = "类型id", requiredMode = Schema.RequiredMode.REQUIRED, example = "25950")
    private Long id;

    @Schema(description = "类型名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "类型名称不能为空")
    private String name;

    @Schema(description = "类型编码")
    private String code;

    @Schema(description = "描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜")
    private String description;

    @Schema(description = "父id", requiredMode = Schema.RequiredMode.REQUIRED, example = "9989")
    @NotNull(message = "父id不能为空")
    private Long parentId;

}